#include <QtGui/QApplication>
#include <QtGui/QDesktopWidget>
#include <QTextCodec>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Q_INIT_RESOURCE(mybook);
    QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
    MainWindow w;
    QRect desktopGeometry = QApplication::desktop()->availableGeometry(0);
    w.show();
    return a.exec();
}
